# SingleMapMgr
from QSingleMapMgr import QSingleMapMgr

# Singleton
MapMgrObj = None
def MapMgrGet():
    global MapMgrObj
    return MapMgrObj

def MapMgrObjAssign(mapMgrInstance):
    global MapMgrObj
    MapMgrObj = mapMgrInstance

# single map only
def SingleMapHeadLoad(mapHeaderKlass):
    MapMgrObjAssign(QSingleMapMgr(mapHeaderKlass))
    MapMgrGet().NextMapHeaderLoad()
